package cn.wolfcode.shop.web.result;

import cn.wolfcode.shop.common.CodeMsg;

public class SeckillServerCodeMsg extends CodeMsg{

    public SeckillServerCodeMsg() {
        super();
    }

    public SeckillServerCodeMsg(Integer code, String msg) {
        super(code, msg);
    }

    public static final SeckillServerCodeMsg PRODUCT_ERROR = new SeckillServerCodeMsg(500201,"商品服务繁忙，请稍候再试");

    public static final SeckillServerCodeMsg OP_ERROR = new SeckillServerCodeMsg(500202, "非法操作");

    public static final SeckillServerCodeMsg SECKILL_REPEAT = new SeckillServerCodeMsg(500203,"您已经抢购过该商品了，请不要重复操作");

    public static final SeckillServerCodeMsg SECKILL_OVER = new SeckillServerCodeMsg(500204, "您来晚了，商品已告罄");

    public static final SeckillServerCodeMsg SECKILL_ERROR = new SeckillServerCodeMsg(500250,"秒杀失败");

    public static final SeckillServerCodeMsg CANCEL_TIMEOUT_QUEUE_ERROR = new SeckillServerCodeMsg(500206,"超时订单异常");

    public static final SeckillServerCodeMsg PAY_ERROR = new SeckillServerCodeMsg(500207,"订单修改状态异常");

    public static final SeckillServerCodeMsg VERIFYCODE_TIMEOUT = new SeckillServerCodeMsg(500208,"验证码已过期，重新获取验证码");

    public static final SeckillServerCodeMsg VERIFYCODE_ERROR = new SeckillServerCodeMsg(500209,"验证码输入有误");
}
